﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<DNA.Models.DNA>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>DNA</h2>
    <img src="http://localhost:61221/Content/themes/base/images/dna.png" />
  
<p>Faça o upload do seu arquivo de DNA.</p>
<p>

 O sistema permite que o usuário realize a importação do arquivos de DNA obtido no consultório.
</p>
<p>
    <%: Html.ActionLink("Criar Novo", "Create") %>
</p>
<table>
    <tr>
        <th>
            CompleteDNASequence
        </th>
        <th></th>
    </tr>

<% foreach (var item in Model) { %>
    <tr>
        <td>
            <%: Html.DisplayFor(modelItem => item.CompleteDNASequence) %>
        </td>
        <td>
            <%: Html.ActionLink("Download", "Download", new { id=item.Id }) %>
            <%: Html.ActionLink("Deletar", "Delete", new { id=item.Id }) %>
            
        </td>
    </tr>

<% } %>

</table>

</asp:Content>
